package org.dawning.shop.order.query.handler;

import org.axonframework.eventhandling.EventHandler;
import org.dawning.shop.common.events.order.OrderCreateEvent;
import org.dawning.shop.order.query.repository.OrderEntryRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


/**
 *
 * Created by miou on 2017/6/15 0015.
 */
@Component
public class OrderEntryHandler {

    @Autowired
    private OrderEntryRepository orderEntryRepository;

    /**生成订单事件处理器*/
    @EventHandler
    public void on(OrderCreateEvent orderCreateEvent) {

    }

}
